package cn.stylefeng.guns.cloud.workflow.modular.model.params;

import cn.stylefeng.guns.cloud.model.validator.BaseValidatingParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 审批信息参数
 *
 * @Author xuyuxiang
 * @Date 2019/11/14 14:38
 **/
@Data
@ApiModel
public class ApproveParam implements Serializable, BaseValidatingParam {

    private static final long serialVersionUID = 1L;

    /**
     * 流程实例id
     */
    @ApiModelProperty("流程实例id")
    private String processInstanceId;

    /**
     * 审批操作（1通过 2驳回 3重新申请 4取消申请）
     */
    @ApiModelProperty("审批操作:1通过 2驳回 3重新申请 4取消申请")
    private Integer approveOperate;

    /**
     * 审批意见
     */
    @ApiModelProperty("审批意见")
    private String approveNote;
}
